package com.example.demo.core.constant;


/**
 * @author yj
 * @date 2021-05-12 11:19
 */
public interface TimeFormatConstant {
    public String TIME_ZONE_FORMAT = "GMT+8";

    //通用时间库
    public String YEAR = "yyyy";
    public String MONTH = "MM";
    public String DAY = "dd";
    public String HOUR = "HH";
    public String MINUTE = "mm";
    public String SECOND = "ss";
    public String HOUR_MINUTE_SECOND = "HH:mm:ss";

    //时间横线 常数库
    public interface StripingConstant {
        public String FORMAT_TIME_SPLIT = "-";
        public String YEAR_MONTH = "yyyy-MM";
        public String YEAR_MONTH_DAY = "yyyy-MM-dd";
        public String YEAR_MONTH_DAY_HOUR = "yyyy-MM-dd HH";
        public String YEAR_MONTH_DAY_HOUR_MINUTE = "yyyy-MM-dd HH:mm";
        public String YEAR_MONTH_DAY_HOUR_MINUTE_SECOND = "yyyy-MM-dd HH:mm:ss";
    }

    public interface ISOConstant {
        public String YEAR_MONTH_DAY_HOUR_MINUTE_SECOND = "yyyy-MM-dd'T'HH:mm:ss'Z'";
    }
}